# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=smooth
pkgver=0.9.9
pkgrel=0
arch="all"
url="https://github.com/enzo1982/smooth"
pkgdesc="The smooth Class Library"
license="Artistic-2.0"
makedepends="
	curl-dev
	fribidi-dev
	gtk+3.0-dev
	libjpeg-turbo-dev
	libx11-dev
	libxml2-dev
	"
source="https://github.com/enzo1982/smooth/archive/v$pkgver/smooth-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
options="!check" # No tests

prepare() {
	default_prepare

	find . -type f -exec sed -i 's|/usr/local|/usr|g' {} \;
}

build() {
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
53d769663c30ac00512c4c13bdee10411ea1918fec76a9c1bea24af4d4aa399bbf1309e94708d9dbfe00688d9ada281bd10084f2e841dbc191df3ceda4e05e54  smooth-v0.9.9.tar.gz
"
